package cc.mrbird.system.service;

import cc.mrbird.common.domain.QueryRequest;
import cc.mrbird.common.service.IService;
import cc.mrbird.system.domain.ProblemFeedback;
import cc.mrbird.system.domain.ProjectEntry;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ProblemFeedbackService{
    ProblemFeedback upload(MultipartFile file) throws IOException;

    List<ProblemFeedback> findAllProblemFeedback(ProblemFeedback problemFeedback, QueryRequest request);

    ProblemFeedback findProblemFeedback(Integer id);

    Boolean addProblemFeedback(ProblemFeedback problemFeedback);

    Boolean updateProblemFeedback(ProblemFeedback problemFeedback);

    ProblemFeedback getProblemFeedback(ProblemFeedback problemFeedback);

    void deleteProblemFeedback(String ids);
}
